package com.rmb.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.util.Date;

@Data
@Entity
@Table(name = "tb_task_excel_info")
@AllArgsConstructor
@NoArgsConstructor
/**
 * @version 1.0
 * @Author z
 * @Date 2021/1/8 19:40
 */
public class TaskExcel {

    @Id
    @ExcelProperty(index = 0)
    private String id;
    @Column(name = "name")
    @ExcelProperty(index = 1)
    private String name;
    @Column(name = "head_list")
    @ExcelProperty(index = 2)
    private String headList;
    @Column(name = "filed_list")
    @ExcelProperty(index = 3)
    private String filedList;
    @Column(name = "type_list")
    @ExcelProperty(index = 4)
    private String typeList;
    @Column(name = "creat_by")
    @ExcelProperty(index = 5)
    private String creatBy;
    @Column(name = "creat_time")
    @ExcelProperty(index = 6)
    private Date creatTime;
    @Column(name = "update_by")
    @ExcelProperty(index = 7)
    private String updateBy;
    @Column(name = "update_time")
    @ExcelProperty(index = 8)
    private Date updateTime;

}
